package neo.aoi.octree;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import artofillusion.math.Vec3;

public class OctreeVoxel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Vec3 voxel;
	
	private double res;
	
	private int depth;
	
	private int index;
	
	private int objectId;
	
	private double conductivity;

	public Vec3 getVoxel() {
		return voxel;
	}

	public void setVoxel(Vec3 voxel) {
		this.voxel = voxel;
	}

	public double getRes() {
		return res;
	}

	public void setRes(double res) {
		this.res = res;
	}

	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public OctreeVoxel(Vec3 voxel, double res, int depth,int index) {
		super();
		this.index=index;
		this.voxel = voxel;
		this.res = res;
		this.depth = depth;
		this.objectId=0;
		this.conductivity=0;
	}

	public OctreeVoxel() {
		super();
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getIndex() {
		return index;
	}

	public void setConductivity(double conductivity) {
		this.conductivity = conductivity;
	}

	public double getConductivity() {
		return conductivity;
	}

	public void setObjectId(int objectId) {
		this.objectId = objectId;
	}

	public int getObjectId() {
		return objectId;
	}
	
	
	
	
}
